﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpellChecker
{
    public interface ISpellCheck
    {
        /// <summary>
        /// 比较得到不对的单词
        /// </summary>
        /// <param name="words"></param>
        /// <param name="lang"></param>
        /// <returns></returns>
        List<string> GetIncorrectWords(List<string> words, string lang);

        /// <summary>
        /// 取得对应单词的建议
        /// </summary>
        /// <param name="word"></param>
        /// <param name="lang"></param>
        /// <returns></returns>
        List<string> GetSuggest(string word, string lang);
    }
}
